package com.superpai.common;

/**
 * @author Devin.Hu
 * @date 2011-8-12
 * @version V1.0
 * @description 常量类
 */
public abstract class Constants {
	
	/** 需用户提供 **/
	public static final int sellerUin = 855003009; 
	public static final String sellEmail = "haoman100@yahoo.cn";
	
	/**系统应用权限资源**/
	public static final String UID = "295893265";
	public static final String EMAIL = "285893265@qq.com";
	public static final String SPID = "29230000ea03fd65fa4d877f275956f3";
	public static final String TOKEN = "11f9a2110f27fd65fa4d068459f676bb";
	public static final String SKEY = "ll7a9nblsb9kt22bp6g7kvi6ca7x40bw";

	/**系统级别的参数**/
	public static final String SYS_PARAM_CHARSET = "charset";
	public static final String SYS_PARAM_FORMAT = "format";
	public static final String SYS_PARAM_PUREDATA = "pureData";
	public static final String SYS_PARAM_UIN = "uin";
	public static final String SYS_PARAM_SPID = "spid";
	public static final String SYS_PARAM_TOKEN = "token";
	public static final String SYS_PARAM_SKEY = "skey";
	public static final String SYS_PARAM_SIGN = "sign";
	
	/**编码格式**/
	public static final String CHARSET_UTF8 = "UTF-8";
	public static final String CHARSET_GBK = "GBK";
	/**解析方式**/
	public static final String FORMAT_JSON = "json";
	public static final String FORMAT_XML = "xml";
	
	/**数据库名称、版本**/
	public static final String DBNAME = "surperpai.db";
	public static final int VERSION = 1;
	/**系统缓存map**/
	public static final String CACHE_SYS_MAP = "cache_sys_map";
	public static final String CACHE_SYS_SHOP_FLAG = "cache_sys_shop_flag";
	public static final String CACHE_SYS_CATE_MAP = "cache_sys_cate_map";
	public static final String CACHE_SYS_CATE_FLAG = "cache_sys_cate_flag";
	
	/********************* 接口地址 start ***********************/
	
	/**查询店铺分类列表**/
	public static final String shop_getShopInfo = "http://api.paipai.com/shop/getShopInfo.xhtml";
	public static final String shop_getShopInfo_method = "shop.getShopInfo";
	
	/**查询店铺分类列表**/
	public static final String shop_getShopCategoryList = "http://api.paipai.com/shop/getShopCategoryList.xhtml";
	public static final String shop_getShopCategoryList_method = "shop.getShopCategoryList";
	
	/**查询店铺促销活动列表接口**/
	public static final String shop_getShopPromotionList = "http://api.paipai.com/shop/getShopPromotionList.xhtml";
	public static final String shop_getShopPromotionList_method= "shop.getShopPromotionList";
	
	/**查询店铺满减满送活动信息接口,卖家必须有三星以上信用**/
	public static final String shop_getSellerMarketActive = "http://api.paipai.com/shop/getSellerMarketActive.xhtml";
	public static final String shop_getSellerMarketActive_method= "shop.getSellerMarketActive";
	
	
	
	/**根据卖家指定的条件查询商品信息列表**/
	public static final String item_sellerSearchItemList = "http://api.paipai.com/item/sellerSearchItemList.xhtml";
	public static final String item_sellerSearchItemList_method = "item.sellerSearchItemList";
	
	/**根据商品编码查询单个商品信息的接口**/
	public static final String item_getItem = "http://api.paipai.com/item/getItem.xhtml";
	public static final String item_getItem_method= "item.getItem";
	
	/**卖家查找订单列表接口**/
	public static final String deal_sellerSearchDealList = "http://api.paipai.com/deal/sellerSearchDealList.xhtml";
	public static final String deal_sellerSearchDealList_method= "deal.sellerSearchDealList";
	
	/**查询买家收货地址列表接口**/
	public static final String user_getReceiverAddressList = "http://api.paipai.com/user/getReceiverAddressList.xhtml";
	public static final String user_getReceiverAddressList_method= "user.getReceiverAddressList";
	
	public static final String user_login = "http://pt.3g.qq.com/json/login3gonly.jsp?qq=295893265&pwd=huxinwu123";
	/********************* 接口地址 end ***********************/
}
